package br.xraylol.client;

import java.util.List;

import org.springframework.stereotype.Component;

import br.xraylol.bean.riot.ChampionBean;
import br.xraylol.constant.ServiceType;
import br.xraylol.custom.list.ChampionList;

@Component
public class ChampionClient extends GenericClient {
	
	public ChampionClient() {
		super(ServiceType.CHAMPION);
	}
	
	public List<ChampionBean> findAll() {
		return findAll("", ChampionList.class).getChampions();
	}
}
